package com.cskaoyan.market.service;

import com.cskaoyan.market.db.domain.MarketGoods;

import java.util.List;

public interface MarketFootprintService {
    /**
     * 1-查询footprint表找到goodsId
     * 2-通过goodsid找goods表
     * 3-返回goods对象组成的List
     * @param page
     * @param limit
     * @return
     */
    List<MarketGoods> list(Integer id,Integer page, Integer limit);

    /**
     * 删除id
     * @param id 指的足迹表里是商品的goodsId
     * @return
     */
    int delete(Integer id);

}
